
var Logger = require('mini-logger');
var config = require('../config.json');

var logger = Logger({
    dir: '../logs',
    stdout: config.logger.stdout,
    file: config.logger.file,
    categories: ['http'],
    format: 'YYYY-MM-DD-[{category}][.log]'
});

global.log = module.exports = logger;


